/**
 * 
 */
package br.com.Consultorio.modelo.entidade;

/**
 * @author renatorocha
 *
 */
public class Dentista {

	private int id;
	private String crm;
	private String nome;
	private String rg;
	private String cpf;
	
	private Endereco endereco;
	private Contato contato;

/** Construtores */
	
	public Dentista(int id, String crm, String nome, String rg, String cpf) {
		
		this (crm, nome, rg, cpf);
		this.id = id;

	}

	public Dentista(String crm, String nome, String rg, String cpf) {
		
		this();
		this.crm = crm;
		this.nome = nome;
		this.rg = rg;
		this.cpf = cpf;
	}
	
	public Dentista() {
		super();
	}

/** Getters and Setters */	

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCrm() {
		return crm;
	}

	public void setCrm(String crm) {
		this.crm = crm;
	}

	public String getNome() {
		return nome;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}

	public String getRg() {
		return rg;
	}

	public void setRg(String rg) {
		this.rg = rg;
	}

	public String getCpf() {
		return cpf;
	}

	public void setCpf(String cpf) {
		this.cpf = cpf;
	}

	
	
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Dentista [id=").append(id).append(", crm=").append(crm)
				.append(", nome=").append(nome).append(", rg=").append(rg)
				.append(", cpf=").append(cpf).append(", endereco=")
				.append(endereco).append(", contato=").append(contato)
				.append("]");
		return builder.toString();
	}
	

	
	
	
}
